package com.example.carapi.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data // getters and setters
@AllArgsConstructor // 全参构造
@NoArgsConstructor // 无参构造
public class CarConfig {
    Long id;
    String name;
    String value;
    Long model_id;

    public CarConfig(String name, String value, Long model_id) {
        this.name = name;
        this.value = value;
        this.model_id = model_id;
    }
}
